home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
tutor
/
teach241.arj
/
TWCAI6.CHP
< prev
next >
Wrap
Text File
|
1992-12-08
|
7KB
|
178 lines
#OFF
%
#EF
#T15,1,Working with the Renumbering Utility
|JUMP START| |REFERENCE MANUAL| |NUMAID| |RENUMBER| |ABOUT|
#HH,1,5,80,1,1,0
#R7
╥─┐ ┬ ╓┐ ╓─┐ ∞ ╓─┐
╟┬┘ ╓╖ ╓┐ ╓┤ ╖┌ ╫ ╓┐ ╥┐ ╙─┐ ╥ ╙╥┘ ╓┘
╨└┘ ╙─ ╙┴ ╙┴ ╙┤ ╨ ╙┘ ╨ ╙─┘ ╨ ╜ └ ∞
╙┘
╥─┐ ╥ ∞ ╥ ╥ ╥
╟┬┘ ╓╖ ╥┐ ╖┌ ╥┬┐ ╟┐ ╓╖ ╥┐ ╥ ╥┐ ╓┐ ║ ─╫─ ╨
╨└┘ ╙─ ╨└ ╙┴ ╨ ┴ ╨┘ ╙─ ╨ ╨ ╨└ ╙┤ ╨ ╙┘ ∞
╙┘
Preview
~b~Y~I┌────────────────────────────────────────────────────┐~z
~b~Y~I│ Chapter 6 discusses the numbering utility. It is │~z
~b~Y~I│ supplemented by help screens within the utility │~z
~b~Y~I│ and is short. About 10 screens. │~z
~b~Y~I└────────────────────────────────────────────────────┘~z
#NE
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WH
%
#EF
#T15,1,Working with the Renumbering Utility
|RENUMBER| |NUMAID| |CAITEST FILE|
#HH,1,5,80,1,1,0
#R6
▄█▀▀▀▀▀█▄ .∙ Except for one's knowledge and writing skills the succcess
▐█▐─ô═ô─▌█▌∙. of a CAITest is based on the correct sequencing of
└┤ ┌┘ .∙ a simple text file.
│█▀▀▀█│
└┬███┬┘ You know from studying the templates that each question
▒▒▒▒ ■ ▒▒▒▒ starts with a number that must be in the first five
spaces. Any number but ~C~I0~Y~I works.
The renumbering utility renumbers a file. Once renumbered the
file is easier to edit. However, if you don't need it ~W~Ithere is no
technical reason to renumber a file~Y~I.
Now, I'll say that in another way~F...~F
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Working with the Renumbering Utility
|RENUMBER| |NUMAID| |QCODE|
#HH,1,5,80,1,1,0
#R9
▄█▀▀▀▀▀█▄ .∙
▐█▐─ô═ô─▌█▌∙. ~W~ICAITeach~Y~I depends on the ~C~IQCode~Y~I much more than the
└┤ ┌┘ .∙
│█▀▀▀█│ the line number.
└┬███┬┘
▒▒▒▒ ■ ▒▒▒▒ The program, ~W~ICAITeach~Y~I, counts the questions based on sets
of 16. It never checks line one for a particular number.
~S~W~IThe Renumbering Utility is an editing aid that helps us keep the
template lines in sets of 16, and it checks to make sure.~s~Y~I
The Renumbering Utility reads line 1 of each template, and compares it
with a calculated number. If it does not find the calculated number it
stops and displays an error message.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Working with the Renumbering Utility
|NUMAID| |RENUMBER|
#HH,1,5,80,1,1,0
#R10
▄█▀▀▀▀▀█▄ .∙ OK. How do you run it?
▐█▐─ô═ô─▌█▌∙.
└┤ ┌┘ .∙ The renumbering utility is the file ~W~I{RENUM.EXE~Y~I.
│█▀▀▀█│ It is menu driven and contains two help screens.
└┬███┬┘
▒▒▒▒ ■ ▒▒▒▒ To run it enter: ~W~I{RENUM~Y~I. Answer the prompt
or abort.
What I'll do is show you an error, and a success screen. Be sure and read
the ~C~IMerging Chapter~Y~I for information of ~C~Iinvisible lines~Y~I, and the two
~C~IHelp~Y~I screens when you run ~W~I{RENUM~Y~I the first time.
Here's the way an error looks~F...~F
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Working with the Renumbering Utility
|NUMAID| |RENUMBER|
#HH,1,5,80,1,1,0
~W~I{RENUM~Y~I generated the following ~W~Ierror~Y~I message, commented below.
~C~I┌────────────────────────────────────────────────────────────────┐
│ ▓░░░▓ Error, no action taken with {DEMO.CHP ▓░░░▓ │
│ ▓░E░▓ Examine Number Line of Question 1 ▓░E░▓ │
│ ▓░R░▓ Starts with a1 ▓░R░▓ │
│ ▓░R░▓ Should start with 1 ▓░R░▓ │
│ ▓░░░▓ Correct in Editor and return. ▓░░░▓ │
└────────────────────────────────────────────────────────────────┘~Y~I
1. I entered ~W~I{RENUM~Y~I, and answered the prompt with ~W~I{DEMO.CHP~Y~I,
the name of the file to be renumbered. Then, I got the error.
2. The error message tells me that ~W~I{RENUM~Y~I did nothing because
it found ~C~Ia1~Y~I at the start of question 1, and it expected
to find ~C~I1~Y~I there.
3. It advises me to correct the error by replacing ~C~Ia1~Y~I with ~C~I1~Y~I.
~W~INext, a success story~F...~F~Y~I
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Working with the Renumbering Utility
|NUMAID| |RENUMBER|
#HH,1,5,80,1,1,0
#R8
~W~I{RENUM~Y~I generated the following ~W~Isuccess~Y~I message, commented below.
~C~I┌───────────────────────────────────────────────────────────────┐
│ ░░░░░░ No problems detected with {DEMO.CHP ░░░░░░ │
│ ░ OK ░ Your old file was copied to RENUM.$$$. ░ OK ░ │
│ ░αααα░ Questions in file: 21 ░αααα░ │
│ ░αααα░ RENUM.$$$ is erased each time CAIRenum runs. ░αααα░ │
│ ░αααα░ Checks/Renumbers in CAI Format. See Manual. ░αααα░ │
│ ░░░░░░ {LINE is a precheck for CAITeach - Pro users. ░░░░░░ │
│ │
│ Normal exit to DOS │
└───────────────────────────────────────────────────────────────┘~Y~I
~W~I{RENUM~Y~I renumbered 21 questions, wrote the old file to ~W~I{RENUM.$$$~Y~I. The
reference to ~W~I{LINE~Y~I is a utility available with ~W~ICAITeach - Pro~Y~I.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
%
#EF
#T15,1,Working with the Renumbering Utility
|JUMP START| |NUMAID| |RENUMBER| |ABOUT|
#HH,1,5,80,1,1,0
#R8
▄█▀▀▀▀▀█▄ .∙ Other messages, such as ~C~INo file found~Y~I, are
▐█▐─ô═ô─▌█▌∙. trapped. ~C~I~FKnow~F you can handle that~Y~I.
└┤ ┌┘ .∙
│█▀▀▀█│ Certainly recommend you read both Help Screens.
└┬███┬┘
▒▒▒▒ ■ ▒▒▒▒ This concludes my discussion on the ~C~IRenumbering Utility~Y~I.
Obviously, not perfect but it traps many errors.
But it's simple to run, and has its ~C~IHelp~Y~I.
#HH,1,24,80,1,1,0
#HF,1,25,80,25,176,1,0
#WP,H
#X